<table class="table table-striped table-bordered table-hover nomargin-bottom">
	<thead>
		<tr>
								<th class="center">订单编号</th>
			<th class="center">卖家店铺id</th>
			<th class="center">卖家店铺名称</th>
			<th class="center">买家id</th>
			<th class="center">买家姓名</th>
			<th class="center">买家电子邮箱</th>
			<th class="center">订单生成时间</th>
			<th class="center">订单类型 0.普通 1.团购</th>
			<th class="center">支付方式id</th>
			<th class="center">支付方式名称</th>
			<th class="center">支付方式名称代码</th>
			<th class="center">支付分支</th>
			<th class="center">支付类型:1是即时到帐,2是担保交易</th>
			<th class="center">付款状态:0:未付款;1:已付款</th>
			<th class="center">订单编号，外部支付时使用，有些外部支付系统要求特定的订单编号</th>
			<th class="center">交易流水号</th>
			<th class="center">支付(付款)时间</th>
			<th class="center">支付留言</th>
			<th class="center">配送时间</th>
			<th class="center">配送公司ID</th>
			<th class="center">物流单号</th>
			<th class="center">外部交易平台单独使用的标识字符串</th>
			<th class="center">订单完成时间</th>
			<th class="center">发票信息</th>
			<th class="center">商品总价格</th>
			<th class="center">优惠总金额</th>
			<th class="center">订单应付金额</th>
			<th class="center">订单总价格</th>
			<th class="center">运费价格</th>
			<th class="center">配送方式</th>
			<th class="center">评价状态 0为评价，1已评价</th>
			<th class="center">评价时间</th>
			<th class="center">卖家是否已评价买家</th>
			<th class="center">卖家评价买家的时间</th>
			<th class="center">订单留言</th>
			<th class="center">订单状态：0:已取消;10:待付款;20:待发货;30:待收货;40:交易完成;50:已提交;60:已确认;</th>
			<th class="center">订单赠送积分</th>
			<th class="center">代金券id</th>
			<th class="center">代金券面额</th>
			<th class="center">代金券编码</th>
			<th class="center">退款状态:0是无退款,1是部分退款,2是全部退款</th>
			<th class="center">退货状态:0是无退货,1是部分退货,2是全部退货</th>
			<th class="center">退款金额</th>
			<th class="center">退货数量</th>
			<th class="center">团购编号(非团购订单为0)</th>
			<th class="center">团购数量</th>
			<th class="center"> 限时折扣编号</th>
			<th class="center">限时折扣说明</th>
			<th class="center">满就送编号</th>
			<th class="center">满就送说明</th>
			<th class="center">搭配套餐id</th>
			<th class="center">搭配套餐说明</th>
			<th class="center">1PC2手机端</th>
			<th class="center">发货备注</th>
			<th class="center">发货地址ID</th>
			<th class="center">收货地址id</th>
			<th class="center">订单支付表id</th>
			<th class="center">订单支付表编号</th>
			<th class="center">结算状态:0,未结算,1已结算</th>
			<th class="center">结算时间</th>
			<th class="center">配送公司编号</th>
			<th class="center">余额支付金额</th>
			<th class="center">订单取消原因</th>
			<th class="center">优惠券id</th>
			<th class="center">优惠券金额</th>
			<th class="center">促销金额</th>
			<th class="center">锁定状态:0是正常,大于0是锁定,默认是0</th>

			<th class="center">操作</th>
		</tr>
	</thead>

	<tbody>
		@for(item in page.list){
			<tr>
								<td class="center">${item.orderSn!}</td>
			<td class="center">${item.storeId!}</td>
			<td class="center">${item.storeName!}</td>
			<td class="center">${item.buyerId!}</td>
			<td class="center">${item.buyerName!}</td>
			<td class="center">${item.buyerEmail!}</td>
			<td class="center">${item.createTime!}</td>
			<td class="center">${item.orderType!}</td>
			<td class="center">${item.paymentId!}</td>
			<td class="center">${item.paymentName!}</td>
			<td class="center">${item.paymentCode!}</td>
			<td class="center">${item.paymentBranch!}</td>
			<td class="center">${item.paymentDirect!}</td>
			<td class="center">${item.paymentState!}</td>
			<td class="center">${item.outSn!}</td>
			<td class="center">${item.tradeSn!}</td>
			<td class="center">${item.paymentTime!}</td>
			<td class="center">${item.payMessage!}</td>
			<td class="center">${item.shippingTime!}</td>
			<td class="center">${item.shippingExpressId!}</td>
			<td class="center">${item.shippingCode!}</td>
			<td class="center">${item.outPaymentCode!}</td>
			<td class="center">${item.finnshedTime!}</td>
			<td class="center">${item.invoice!}</td>
			<td class="center">${item.goodsAmount!}</td>
			<td class="center">${item.discount!}</td>
			<td class="center">${item.orderAmount!}</td>
			<td class="center">${item.orderTotalPrice!}</td>
			<td class="center">${item.shippingFee!}</td>
			<td class="center">${item.shippingName!}</td>
			<td class="center">${item.evaluationStatus!}</td>
			<td class="center">${item.evaluationTime!}</td>
			<td class="center">${item.evalsellerStatus!}</td>
			<td class="center">${item.evalsellerTime!}</td>
			<td class="center">${item.orderMessage!}</td>
			<td class="center">${item.orderState!}</td>
			<td class="center">${item.orderPointscount!}</td>
			<td class="center">${item.voucherId!}</td>
			<td class="center">${item.voucherPrice!}</td>
			<td class="center">${item.voucherCode!}</td>
			<td class="center">${item.refundState!}</td>
			<td class="center">${item.returnState!}</td>
			<td class="center">${item.refundAmount!}</td>
			<td class="center">${item.returnNum!}</td>
			<td class="center">${item.groupId!}</td>
			<td class="center">${item.groupCount!}</td>
			<td class="center">${item.xianshiId!}</td>
			<td class="center">${item.xianshiExplain!}</td>
			<td class="center">${item.mansongId!}</td>
			<td class="center">${item.mansongExplain!}</td>
			<td class="center">${item.bundlingId!}</td>
			<td class="center">${item.bundlingExplain!}</td>
			<td class="center">${item.orderFrom!}</td>
			<td class="center">${item.deliverExplain!}</td>
			<td class="center">${item.daddressId!}</td>
			<td class="center">${item.addressId!}</td>
			<td class="center">${item.payId!}</td>
			<td class="center">${item.paySn!}</td>
			<td class="center">${item.balanceState!}</td>
			<td class="center">${item.balanceTime!}</td>
			<td class="center">${item.shippingExpressCode!}</td>
			<td class="center">${item.predepositAmount!}</td>
			<td class="center">${item.cancelCause!}</td>
			<td class="center">${item.couponId!}</td>
			<td class="center">${item.couponPrice!}</td>
			<td class="center">${item.promoPrice!}</td>
			<td class="center">${item.lockState!}</td>

				<td class="center">
					<div class="hidden-sm hidden-xs action-buttons">
					@if(auth.hasPermission("order:order:edit")){
						<a class="green" href="javascript:void(0);" 
							data-mode="page" data-title="编辑"
							data-url="${ctxPath}/order/edit/showlayer"
							data-data="{id:'${item.id}'}" 
						>
							<i class="ace-icon fa fa-pencil bigger-130"></i>
						</a>
					@}
					
					@if(auth.hasPermission("order:order:delete")){
						<a class="red" href="javascript:void(0);" 
							data-mode="del" data-title="删除操作"
							data-msg="你确定删除此数据吗?"
							data-url="${ctxPath}/order/delete" 
							data-data="{id:'${item.id}',type:'${item.type}',value:'${item.value}'}"
						>
							<i class="ace-icon fa fa-trash-o bigger-130"></i>
						</a>
					@}
					</div>
				</td>
			</tr>
		@}
	</tbody>
</table>
<div class="space-8"></div>
<#paginate page="${page}" />
